window.onload = $(function () {
    murl = window.location.href;
    visit();
    setInterval(visit, 3000);
});

var visitId = 0;
var murl = '';
/**
 * 访问统计
 */
function visit() {
    $.get("/statistics/visit.html", {url: murl, id: visitId}, function (tid) {
        visitId = tid;
    });
}
